<!--登陆框-->
<a name="login"></a>
<div id="login">
<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'login-form',
	'enableClientValidation'=>true,
	'clientOptions'=>array(
		'validateOnSubmit'=>true,
	),
)); ?>					
	<p class="bred">登录</p>
	<div class="lo_container">
		<p class="m20">
		<?php 
			echo $form->labelEx($model,'账号');
		?>
		</p>
		<?php 
			echo $form->textField($model,'username',array('class'=>'m20 input_area'));
			echo $form->error($model,'username');
		?>
		<p class="m20">
		<?php
			echo $form->labelEx($model,'密码'); 
		?>
		</p>
		<?php
			echo $form->passwordField($model,'password',array('class'=>'m20 input_area'));
			echo $form->error($model,'password');
		?>
		<div class="bhover">
		<?php
			echo CHtml::button('',array('value'=>'登陆','name'=>'login','class'=>'buttom'));
		?>
		</div>
	</div>
<?php $this->endWidget(); ?>
</div>